package aop.xyz.myapp.dao;

import java.io.Serializable;
import java.util.List;

import aop.xyz.myapp.PessimisticLockingFailureException;

public class GeneralDAO<T, ID extends Serializable> {
	public T get(ID id) {
		return null;
	}

	public List<T> getAll() {
		return null;
	}

	public void saveOrUpdate(T entity) throws PessimisticLockingFailureException {

	}

	public T del(ID id) {
		return null;
	}

	public void del(T entity) {

	}

	public List<T> del(List<ID> ids) {
		return null;
	}
}
